/**
 * 移除 input 元素 的 值
 */
export function remove_inp_val(inp_node: HTMLInputElement) {
  inp_node.value = '';
}

/**
 * 清空 collection_inp 的 值
 */
export function remove_collection_inp_val(
  collection_inp: Element[] | HTMLCollection
) {
  let cur_inp_node: HTMLInputElement;
  for (cur_inp_node of collection_inp as any[]) {
    remove_inp_val(cur_inp_node);
  }
}
